using System.Data.Linq.Mapping;

namespace vurfu.DataContracts
{
    [Table(Name = "dbo.Users")]
    public class UserRecord
    {
        [Column(Name = "UserId", DbType = "UniqueIdentifier NOT NULL", IsPrimaryKey = true)]
        public string UserId { get; set; }

        [Column(Name = "Name", DbType = "NVarChar(MAX) NOT NULL", CanBeNull = false)]
        public string Name { get; set; }

        [Column(Name = "LastName", DbType = "NVarChar(MAX) NOT NULL", CanBeNull = false)]
        public string LastName { get; set; }

        [Column(Name = "UserStatus", DbType = "UniqueIdentifier NOT NULL", CanBeNull = false)]
        public string Status { get; set; }

        [Column(Name = "Ratings", DbType = "UniqueIdentifier NOT NULL", CanBeNull = false)]
        public string Ratings { get; set; }

        [Column(Name = "Course", DbType = "UniqueIdentifier NOT NULL", CanBeNull = false)]
        public string Course { get; set; }

        [Column(Name = "AcademGroup", DbType = "UniqueIdentifier NOT NULL", CanBeNull = false)]
        public string AcademGroup { get; set; }

        [Column(Name = "Deleted", DbType = "Bit NOT NULL", CanBeNull = false)]
        public bool? Deleted { get; set; }
    }
}